package com.lms.service;

import com.lms.bean.Request;
import com.lms.util.QueryResult;
import com.lms.vo.RequestVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RequestService {
    void save(Request request);

    Page<Request> findAll(Pageable pageable);

    Request findRequestById(Long requestId);

    QueryResult<RequestVO> queryByKeyWordLike(int page, int pageSize ,String keyword);

    Page<Request> findAll(Pageable pageable, Long userId);

    Long findAllNoHandleCount();

    void deleteById(Long id);

    void deleteAll(String ids);
}
